package service;

import dao.StudentDao;
import domain.Student;

import java.sql.SQLException;
import java.util.List;

/**
 * @author 于金鹏
 * @Date 2024/12/12 16:17
 * @Package yujinpeng
 */
public interface IStudentService {
    // 查询学生列表
    List<Student> getStudents(Student student) throws SQLException;

    // 新增学生
    int addStudent(Student student) throws SQLException;

    // 根据id删除学生
    int deleteStudent(int id) throws SQLException;

    // 修改学生信息
    int updateStudent(Student student) throws SQLException;
}
